local guanhuo = fk.CreateSkill {
  name = "mq__guanhuo",
}

guanhuo:addEffect(fk.CardUseFinished, {
  anim_type = "negative",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(guanhuo.name) and
      data.card and target.phase == Player.Play and
      ( (data.card.is_damage_card and not data.damageDealt) or data.card.type == Card.TypeEquip)
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    player:drawCards(2,guanhuo.name)
    room:endTurn()
  end,
})

Fk:loadTranslationTable{
  ["mq__guanhuo"] = "观火",
  [":mq__guanhuo"] = "出牌阶段，你使用装备牌或未造成伤害的伤害牌后，你可以摸两张牌并结束此回合。"
}

return guanhuo